package net.esj.basic.expression.formula;

import net.esj.basic.expression.ExpressionException;

public class BaseFormula implements Formula {

	protected Number value = 0;
	
	public BaseFormula(Number value) {
		super();
		this.value = value;
	}
	
	@Override
	public Number calc(Number num) throws ExpressionException {
		return num;	}

	@Override
	public Number getValue() {
		return value;
	}

	
}
